import layout from '@/layout'
export default {
  path: '/system',
  component: layout,
  meta: {
    title: '系统管理',
    icon: 'el-icon-s-operation'
  },
  children: [
    {
      path: '/staff', // 二级路由的路径，
      name: 'staff',
      component: () => import('@/views/systeManagement/staff.vue'),
      meta: {
        title: '员工管理',
        icon: 'el-icon-some-icon'
      }
    },
    {
      path: '/role', // 二级路由的路径，
      name: 'role',
      component: () => import('@/views/systeManagement/role.vue'),
      meta: {
        title: '角色管理',
        icon: 'el-icon-some-icon'
      }
    }
  ]
}
